#pragma once

class CVertexAnimation
{
protected:
	LPDIRECT3DINDEXBUFFER9 m_pIB;
	LPDIRECT3DVERTEXBUFFER9 m_pVB1;
	LPDIRECT3DVERTEXBUFFER9 m_pVB2;
	DWORD m_dwIndices;
	DWORD m_dwFaces;

	LPD3DXEFFECT m_Effect;
	LPDIRECT3DVERTEXDECLARATION9 m_pDecl;

public:
	void Init(LPDIRECT3DDEVICE9 _Device);
	void Render(CEasyRender* _Render);
};